package com.oi.eksekutif.dao;

import com.oi.eksekutif.domain.PembayaranTagihan;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Deny Prasetyo
 * Date: Apr 21, 2010
 * Time: 1:27:49 AM
 */
public interface PembayaranTagihanDAO {
    public long count();

    public PembayaranTagihan find(Long id);

    public List<PembayaranTagihan> findAll();

    public List<PembayaranTagihan> findEntries(int firstResult, int maxResults);

    @Transactional
    public void flush();

    @Transactional
    public void merge(PembayaranTagihan o);

    @Transactional
    public void persist(PembayaranTagihan o);

    @Transactional
    public void remove(PembayaranTagihan o);
}